package com.jjb.www.utils;

import android.content.Context;
import android.os.Environment;

import java.io.File;

/**
 * Author: crg
 * time:   2021/12/9 13:47
 * des:    图片压缩工具类
 */
public class CompressionUtil {

    public static String getPath(Context context) {
        String path = context.getExternalFilesDir(Environment.DIRECTORY_PICTURES) + "/Luban/";
        File file = new File(path);
        file.mkdirs();
        return path;
    }
}
